package com.sword.mapper;

import com.sword.pojo.User;
import org.apache.ibatis.annotations.Param;

public interface UserMapper {

    //用于用户登录
    User select(@Param("username") String username, @Param("password") String password);

    User selectByUsername(String username);

    void add(User user);
}
